package com.jy.modules.cims.component.credit.creditor.transferee;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Service;

import com.jy.modules.cims.data.dto.credit.CreditApplyDto;
import com.jy.modules.cims.data.dto.credit.CreditApplyResultDto;

/**
 * @description 捷越公司债权受让处理组件(如果通用组件无法满足实际业务需求，需要继承抽象类，重写父方法或扩展新方法)。
 * @author shengzhoutao
 * @date 2015-07-07
 */
@Service("com.jy.modules.cims.component.credit.creditor.transferee.JYCreditorTransfereeDeal")
public class JYCreditorTransfereeDeal extends AbstractCreditorTransfereeDeal {
	private static final Logger logger = LoggerFactory.getLogger(JYCreditorTransfereeDeal.class);

	/**
	 * @description 创建请求
	 * @param applyDto
	 *            债权申请实体
	 * @author shengzhoutao
	 * @date 2015-07-07
	 */
	public void createApply(CreditApplyDto applyDto) throws Exception {
		logger.info("====================JYCreateApply====================");
		super.createApply(applyDto);
	}

	/**
	 * @description 发送请求
	 * @param applyDto
	 *            债权申请实体
	 * @author shengzhoutao
	 * @date 2015-07-07
	 */
	public void sendApplyToConsult(CreditApplyDto applyDto) throws Exception {
		logger.info("====================JYSendApplyToConsult====================");
		super.sendApplyToConsult(applyDto);
	}

	/**
	 * @description 确认结果
	 * @param applyDto
	 *            债权申请实体
	 * @param applyResultDto
	 *            债权申请结果实体
	 * @author shengzhoutao
	 * @date 2015-07-07
	 */
	public void confirmApplyResult(CreditApplyDto applyDto, CreditApplyResultDto applyResultDto) throws Exception {
		logger.info("====================JYConfirmApplyResult====================");
		super.confirmApplyResult(applyDto, applyResultDto);
	}
}
